<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page isELIgnored="false"%>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/css/all/all.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/js/jquery_ui/themes/smoothness/jquery.ui.all.css">
<script src="${pageContext.request.contextPath}/js/jquery-1.7.2.js"></script>
<script
	src="${pageContext.request.contextPath}/js/jquery_ui/ui/jquery.ui.core.js"></script>
<script
	src="${pageContext.request.contextPath}/js/jquery_ui/ui/jquery.ui.widget.js"></script>
<script
	src="${pageContext.request.contextPath}/js/jquery_ui/ui/jquery.ui.tabs.js"></script>
<script
	src="${pageContext.request.contextPath}/js/jquery_ui/ui/jquery.ui.mouse.js"></script>
<script
	src="${pageContext.request.contextPath}/js/jquery_ui/ui/jquery.ui.draggable.js"></script>
<script
	src="${pageContext.request.contextPath}/js/jquery_ui/ui/jquery.ui.position.js"></script>
<script
	src="${pageContext.request.contextPath}/js/jquery_ui/ui/jquery.ui.resizable.js"></script>
<script
	src="${pageContext.request.contextPath}/js/jquery_ui/ui/jquery.ui.button.js"></script>
<script
	src="${pageContext.request.contextPath}/js/jquery_ui/ui/jquery.ui.dialog.js"></script>
<script
	src="${pageContext.request.contextPath}/js/jquery_ui/ui/jquery.ui.effect.js"></script>
<script
	src="${pageContext.request.contextPath}/js/jquery_ui/ui/jquery.ui.accordion.js"></script>
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/js/jquery_ui/demos/demos.css">
<script type="text/javascript">
	//获取页面宽度
	var ROOTPATH ='<%=request.getContextPath()%>';
	//获取页面宽度
	function pageHeight() {
		if ($.browser.msie) {
			return document.compatMode == "CSS1Compat" ? document.documentElement.clientHeight
					: document.body.clientHeight;
		} else {
			return self.innerHeight;
		}
	}
	function pageWidth() {
		if ($.browser.msie) {
			return document.compatMode == "CSS1Compat" ? document.documentElement.clientWidth
					: document.body.clientWidth;
		} else {
			return self.innerWidth;
		}
	}
	function UUID() {
		this.id = this.createUUID()
	}
	UUID.prototype.valueOf = function() {
		return this.id
	};
	UUID.prototype.toString = function() {
		return this.id
	};
	UUID.prototype.createUUID = function() {
		var c = new Date(1582, 10, 15, 0, 0, 0, 0);
		var f = new Date();
		var h = f.getTime() - c.getTime();
		var i = UUID.getIntegerBits(h, 0, 31);
		var g = UUID.getIntegerBits(h, 32, 47);
		var e = UUID.getIntegerBits(h, 48, 59) + "2";
		var b = UUID.getIntegerBits(UUID.rand(4095), 0, 7);
		var d = UUID.getIntegerBits(UUID.rand(4095), 0, 7);
		var a = UUID.getIntegerBits(UUID.rand(8191), 0, 7)
				+ UUID.getIntegerBits(UUID.rand(8191), 8, 15)
				+ UUID.getIntegerBits(UUID.rand(8191), 0, 7)
				+ UUID.getIntegerBits(UUID.rand(8191), 8, 15)
				+ UUID.getIntegerBits(UUID.rand(8191), 0, 15);
		return i + g + e + b + d + a
	};
	UUID.getIntegerBits = function(f, g, b) {
		var a = UUID.returnBase(f, 16);
		var d = new Array();
		var e = "";
		var c = 0;
		for (c = 0; c < a.length; c++) {
			d.push(a.substring(c, c + 1))
		}
		for (c = Math.floor(g / 4); c <= Math.floor(b / 4); c++) {
			if (!d[c] || d[c] == "") {
				e += "0"
			} else {
				e += d[c]
			}
		}
		return e
	};
	UUID.returnBase = function(c, d) {
		var e = [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B",
				"C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N",
				"O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" ];
		if (c < d) {
			var b = e[c]
		} else {
			var f = "" + Math.floor(c / d);
			var a = c - f * d;
			if (f >= d) {
				var b = this.returnBase(f, d) + e[a]
			} else {
				var b = e[f] + e[a]
			}
		}
		return b
	};
	UUID.rand = function(a) {
		return Math.floor(Math.random() * a)
	};
</script>